package com.stylefeng.guns.modular.system.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.system.dao.HybrankDetailMapper;
import com.stylefeng.guns.modular.system.model.HybrankDetail;
import com.stylefeng.guns.modular.system.service.IHybrankDetailService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-06-01
 */
@Service
public class HybrankDetailServiceImpl extends ServiceImpl<HybrankDetailMapper, HybrankDetail> implements IHybrankDetailService {

	@Autowired
	private HybrankDetailMapper hybrankDetailMapper;
	
	@Override
	public HybrankDetail selectBySalesCodeDate(HybrankDetail hybrankDetail) {
		return hybrankDetailMapper.selectBySalesCodeDate(hybrankDetail);
	}

	@Override
	public List<Map<String, Object>> selectDetailMaps(Page<HybrankDetail> page,
			String dm, String date) {
		return hybrankDetailMapper.selectDetailMaps(page,dm,date);
	}

	@Override
	public List<Map<String, Object>> selectNgByDate(String date) {
		return hybrankDetailMapper.selectNgByDate(date);
	}
	
	

}
